package cn.npe.dynamic.thread.pool.sdk.event;

import cn.npe.dynamic.thread.pool.sdk.domain.model.entity.ThreadPoolConfigEntity;
import cn.npe.dynamic.thread.pool.sdk.domain.model.entity.ThreadPoolProperties;
import org.springframework.context.ApplicationEvent;
/**
 * @ClassName DtpEvent
 * @Author zhjx
 * @Description 刷新线程池的事件包装类
 * @Date 2024/5/23 15:35
 **/
public class DtpEvent  extends ApplicationEvent {

    private ThreadPoolConfigEntity threadPoolConfigEntity;

    public DtpEvent(ThreadPoolConfigEntity threadPoolConfigEntity) {
        super(threadPoolConfigEntity);
        this.threadPoolConfigEntity = threadPoolConfigEntity;
    }

    public ThreadPoolConfigEntity getThreadPoolConfigEntity() {
        return threadPoolConfigEntity;
    }
}